|
@@ -1971,7 +1971,7 @@ static int
|
|
add_socket_opt(struct hist_browser *browser, struct popup_action *act,
|
|
add_socket_opt(struct hist_browser *browser, struct popup_action *act,
|
|
char **optstr, int socket_id)
|
|
char **optstr, int socket_id)
|
|
{
|
|
{
|
|
- if (socket_id < 0)
|
|
|
|
|
|
+ if (!sort__has_socket || socket_id < 0)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
if (asprintf(optstr, "Zoom %s Processor Socket %d",
|
|
if (asprintf(optstr, "Zoom %s Processor Socket %d",
|